travisify.sh: respect default branch name - #38
Conversation
|
Nice! Here's a way to generalize the name of the remote beyond only In other words: get the linked remote for the current branch, and assume that's the remote you care about for doing the release. Potential pitfalls:
What do you think? I'm concerned about (2) above; maybe we should scrape the intended remote repository out of the |
That's the case now already (if you're on |
|
@imagejan OK great, then can you quickly integrate and test my snippet above, and push a commit here if it's good? Then we can merge. |
Signed-off-by: Jan Eglinger <jan.eglinger@gmail.com>
|
@ctrueden thanks! Committed, tested locally, and pushed. This pull request is now ready. |
See #36.
NB: Currently, the remote name
originis hard-coded. We should allow configuration similar to how it is done inrelease-version.sh.